package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjWorkLeaveMessageAnnex;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 工单留言附件表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2024-04-24
 */
@Repository
public interface ZjWorkLeaveMessageAnnexMapper extends BaseMapper<ZjWorkLeaveMessageAnnex> {

    /**
     * 根据工单ID获取留言附件
     * @param workId 工单ID
     * @return
     */
    List<ZjWorkLeaveMessageAnnex> getByWorkId(@Param("workId") Long workId);
}
